package com.tyj.gulimall.product.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.tyj.common.utils.PageUtils;
import com.tyj.gulimall.product.entity.SkuImagesEntity;

import java.util.List;
import java.util.Map;

/**
 * sku图片
 *
 * @author tanyoujie
 * @email 983629093@qq.com
 * @date 2021-02-09 19:09:40
 */
public interface SkuImagesService extends IService<SkuImagesEntity> {

    PageUtils queryPage(Map<String, Object> params);

    void saveImages(List<SkuImagesEntity> imagesEntities);

    /**
     *根据skuId获取图片
     * @param skuId
     * @return
     */
    List<SkuImagesEntity> getImagesBySkuId(Long skuId);
}

